<form class="form-horizontal" role="form" name='food_eidt_form'>
  <div class="form-group">
    <input type="hidden" name='food_edit_id' value="<{$edit_data.goods_id}>">
    <label for="food_edit_img" class="col-sm-2 control-label">商品图片</label>
    <div class="col-sm-8 food_edit_img_div">
        
          <div >
            <present name='edit_data.goods_pic.one'>
                <img src="<{$edit_data.goods_pic.one}>" alt="" class="food_edit_img_fancybox" rel='food_edit_img_group' name="food_edit_img_one">
            <else />
                <img src="" alt="" class="food_edit_img_fancybox" rel='food_edit_img_group' name="food_edit_img_one">
            </present>
            <input type="file"  id="food_edit_img_one">
            <input type="hidden" name="food_edit_img_one" value="">
          </div>
        
        
          <div >
            <present name='edit_data.goods_pic.two'>
                <img src="<{$edit_data.goods_pic.two}>" alt="" class="food_edit_img_fancybox" rel='food_edit_img_group' name="food_edit_img_two">
            <else />
                <img src="" alt="" class="food_edit_img_fancybox" rel='food_edit_img_group' name="food_edit_img_two">
            </present>
            <input type="file"  id="food_edit_img_two">
            <input type="hidden" name="food_edit_img_two">
          </div>
        
       
        <div >
          <present name='edit_data.goods_pic.three'>
              <img src="<{$edit_data.goods_pic.three}>" alt="" class="food_edit_img_fancybox" rel='food_edit_img_group' name="food_edit_img_three">
          <else />
              <img src="" alt="" class="food_edit_img_fancybox" rel='food_edit_img_group' name="food_edit_img_three">
          </present>
          <input type="file"  id="food_edit_img_three">
          <input type="hidden" name="food_edit_img_three">
        </div>
        
    </div>
    
    
  </div>
  <div class="form-group">
    <label for="food_edit_name" class="col-sm-2 control-label">商品名称</label>
    <div class="col-sm-3">
      <input type="text" class="form-control" name='food_edit_name' id="food_edit_name" placeholder="商品名称" value="<{$edit_data.goods_name}>">
    </div>
  </div>
  <div class="form-group">
    <label for="food_edit_type" class="col-sm-2 control-label">商品类型</label>
    <div class="col-sm-3">
     	<select name="food_edit_type" id="">
     		<option value="">--请选择--</option>
        <foreach name='goods_type_list' item='vo'>
          <option value="<{$vo.goods_type_id}>" <if condition="$edit_data.goods_type = $vo.goods_type_id"> selected</if>><{$vo.goods_type_name}></option>
        </foreach>
     	</select>
    </div>
    <label for="food_type" class="col-sm-1 control-label">商品推荐</label>
    <div class="col-sm-1">
      <select name="food_recomment" id="">
        <option value="">--请选择--</option>
          <option value="N" <if condition="$edit_data.goods_recomment = 'N'"> selected</if>>否</option>
          <option value="Y" <if condition="$edit_data.goods_recomment = 'Y'"> selected</if>>是</option>
      </select>
    </div>
  </div>
  <div class="form-group">
    <label for="food_edit_price" class="col-sm-2 control-label">商品价格</label>
    <input type="text"  class="form-control" name='food_edit_price' id="food_edit_price" placeholder="单位(元)" value="<{$edit_data.goods_price}>">
    <label for="food_edit_uprice" class="col-sm-1 control-label">会员价格</label>
    <input type="text" class="form-control" name='food_edit_uprice' id="food_edit_uprice" placeholder="单位(元)" value="<{$edit_data.goods_uprice}>">
   
  </div>
  <div class="form-group">
    <label for="food_edit_description" class="col-sm-2 control-label">菜谱内容</label>
    <div class="col-sm-5">
     <textarea id="food_edit_description" name='food_edit_description' style='width:800px;height:300px;'><{$edit_data.goods_info}></textarea>
    </div>
  </div>  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="button" class="btn btn-primary food_edit_button">确认</button>
    </div>
  </div>
</form>